/*
 * @Author: 蔡继周
 * @Date: 2021-11-09 21:34:28
 * @LastEditTime : 2021-12-14 13:37:27
 * @LastEditors  : Shaquille.Cai
 * @Description: I have to do something...
 * @FilePath     : \\vue3-admin-with-blog\\src\\main.js
 */
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from './router'
import store from './store'
import CheckboxMoudel from "./components/FormTep/itemView/CheckboxMoudel.vue";
import BackToTop from "./components/BackToTop/index.vue";
import SlideCatalog from "./components/SlideCatalog/index.vue";
import RadioGroupMoudel from "./components/FormTep/itemView/RadioGroupMoudel.vue";
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import elementIcon from "@/plugins/svgicon";
import permission from "@/plugins/permission";

const app = createApp(App);

app.use(router).use(store).use(ElementPlus, { size: 'small', locale: zhCn }).use(elementIcon).use(permission, { router, store }).mount('#app')

app.component('BackToTop', BackToTop);
app.component('SlideCatalog', SlideCatalog);
app.component('RadioGroupMoudel', RadioGroupMoudel);
app.component('CheckboxMoudel', CheckboxMoudel);